package com.legal.app.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @author Ale
 * @date 2025/6/17
 */
@Data
@ApiModel("登录响应结果")
public class LoginResultDTO {
    @ApiModelProperty(value = "用户ID")
    private Long userId;

//    @ApiModelProperty(value = "用户类型 (1=普通用户，2=律师，3=管理员)")
    private Long userType;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "头像地址")
    private String avatarUrl;

    @ApiModelProperty(value = "JWT令牌")
    private String token;

    @ApiModelProperty(value = "令牌过期时间(毫秒)")
    private Long expireTime;

}
